package com.work.crops.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CropsInfoDisease implements Serializable {
    @Id
    private Long cid ;  //农作物id
    private String stage;   //农作物生长阶段

    @Id
    private Long did;   //病虫害id

}
